/**
 * Project Name:ldasp
 * File Name:MapBuilder.java
 * Package Name:com.troy.ldc.ldasp
 * Date:2017年4月7日上午10:44:59
 * Copyright (c) 2017, chenzhou1025@126.com All Rights Reserved.
 *
*/

package jbase.project.system.core.support;

import java.util.HashMap;
import java.util.Map;

/**
 * ClassName:MapBuilder <br/>
 * Function: TODO ADD FUNCTION. <br/>
 * Reason: TODO ADD REASON. <br/>
 * Date: 2017年4月7日 上午10:44:59 <br/>
 * 
 * @author Licheng
 * @version
 * @since JDK 1.8
 * @see
 */
public class MapBuilder {

	private Map<String, Object> map = new HashMap<String, Object>();

	public static MapBuilder builder() {
		return new MapBuilder();
	}

	public MapBuilder put(String key, Object value) {
		map.put(key, value);
		return this;
	}

	public Map<String, Object> build() {
		return map;
	}

}
